package com.qh.factory.method;

public class consumer {
    public static void main(String[] args) {
            new teslaFactory().getCar().carName();
            new wulingFactory().getCar().carName();
            new benCFactory().getCar().carName();
    }
}
